import Vue from 'vue'
import App from './App.vue'
import VueRouter  from 'vue-router'
Vue.use(VueRouter)

import MyGoodsList from '@/views/MyGoodsList'
import MyGoodsSearch from '@/views/MyGoodsSearch'
import MyUserInfo from '@/views/MyUserInfo'

const router = new VueRouter({
  routes: [
    { path: '/MyGoodsList', component: MyGoodsList },
    { path: '/MyGoodsSearch', component: MyGoodsSearch },
    { path: '/MyUserInfo', component: MyUserInfo },
  ]
})


Vue.directive("fous",{
  inserted(el){
    el.focus()
  }
})
Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
